package com.xms.schema.service.attribute;

import com.xms.datacore.service.IDeleterService;
import com.xms.dependency.XmsDependencyException;
import com.xms.schema.entity.Attribute;

import java.sql.SQLException;
import java.util.UUID;

/**
 * <p>
 * IAttributeDeleterService
 * </p>
 *
 * @author migo
 * @since 2021/9/2
 */
public interface IAttributeDeleterService extends IDeleterService<Attribute> {
    boolean delete(Attribute entity) throws SQLException, XmsDependencyException;

    boolean deleteById(UUID... id) throws SQLException, XmsDependencyException;

    boolean deleteByEntityId(UUID entityId) throws SQLException, XmsDependencyException;
}
